package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Card;
import com.biomatch.dto.Pagination;

import java.util.List;

public interface CardService {
     IPage<Card> getAllByPage(Pagination pagination);

    List<Card> getAll();

    Card saveOrUpdate(Card card);

    Card delete(Card card);

    Card stopCard(Card card);

    Card openCard(Card card);
}
